package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 *  实体类
 *
 * @author MyBatisGenerator
 * @date 2020-12-28
 */
@Data
@DbTable(tableName = "t_exercise_in")
@ApiModel(value = "ExerciseIn", description = "")
public class ExerciseIn extends BaseEntity{

    @ApiModelProperty(value = "活动Id")
    @DbTableField(columnName = "c_exercise_id", dbType = DbTypeEnum.INTEGER)
    private Integer exerciseId;

    @ApiModelProperty(value = "微信Id")
    @DbTableField(columnName = "c_openid", dbType = DbTypeEnum.VARCHAR)
    private String openid;

    @ApiModelProperty(value = "微信名称 ")
    @DbTableField(columnName = "c_nickname", dbType = DbTypeEnum.VARCHAR)
    private String nickname;

    @ApiModelProperty(value = "记录时间")
    @DbTableField(columnName = "c_db_update_date", dbType = DbTypeEnum.TIMESTAMP)
    private LocalDateTime dbUpdateDate;

    @ApiModelProperty(value = "性别 1男  2女")
    @DbTableField(columnName = "c_sex", dbType = DbTypeEnum.INTEGER)
    private Integer sex;

    @ApiModelProperty(value = "手机号")
    @DbTableField(columnName = "c_telphone", dbType = DbTypeEnum.VARCHAR)
    private String telphone;

    @ApiModelProperty(value = "年龄")
    @DbTableField(columnName = "c_age", dbType = DbTypeEnum.VARCHAR)
    private String age;

    @ApiModelProperty(value = "姓名")
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    private String name;

}
